package org.leveryd.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;


@WebFilter
public class TestFilter implements Filter {

    @Override
    public void init(FilterConfig filterConfig) {

    }

    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    @Override
    public void doFilter(ServletRequest req, ServletResponse res, FilterChain filterChain)
            throws IOException, ServletException {

        System.out.println("TestFilter");


        filterChain.doFilter(req, res);
    }

    @Override
    public void destroy() {

    }

}
